package clazz.abs.device;

public class Child {
   private Device dervice;

    public void gievDevice(Device dervice){
        this.dervice = dervice;
    }
    public void play(){
        String versionNo = dervice.getVersionNo();
        System.out.println("我看到软件版本是："+versionNo);
        String serNO = dervice.getSerNO();
        System.out.println("我看到软件序列号是："+serNO);
        dervice.charge();
    }
}
